package com.tust.app.domain;




public class News {
    private Integer id;
    private String title;
    private String article;
    private String time;

    public News() {
    }

    public News(Integer id, String title, String article, String time) {
        this.id = id;
        this.title = title;
        this.article = article;
        this.time = time;
    }

    /**
     * 获取
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     * @return title
     */
    public String getTitle() {
        return title;
    }

    /**
     * 设置
     * @param title
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * 获取
     * @return article
     */
    public String getArticle() {
        return article;
    }

    /**
     * 设置
     * @param article
     */
    public void setArticle(String article) {
        this.article = article;
    }

    /**
     * 获取
     * @return time
     */
    public String getTime() {
        return time;
    }

    /**
     * 设置
     * @param time
     */
    public void setTime(String time) {
        this.time = time;
    }

    public String toString() {
        return "News{id = " + id + ", title = " + title + ", article = " + article + ", time = " + time + "}";
    }
}
